import React, { Component } from 'react'
import Proptypes from 'prop-types'

export default class Product extends Component {
  render() {
    console.log(this.props)
    console.log(Proptypes);
    return (
      <div>
        {this.props.name}
      </div>
    )
  }
}

Product.propTypes = {
  name: Proptypes.string.isRequired,
  city: Proptypes.arrayOf(Proptypes.string)
}